

    commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
    test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}